package org.gpp.proj1.robot.action;

import java.util.List;

import org.gpp.proj1.robot.action.step.ActionStep;

/**
 * @author Paolo Victor, paolovictor@gmail.com
 */
public class PartAction {
	
	protected String name;
	
	protected List<ActionStep> steps;
	
	public PartAction( String name, List<ActionStep> steps ) {
		assert name != null : "Cannot create action with null name";
		assert steps != null : "Cannot create action with null step list";
		
		this.name = name;
		this.steps = steps;
	}
	
	public String getName() {
		return name;
	}
	
	public List<ActionStep> getSteps() {
		return steps;
	}
}
